<template>
  <div>
    <div class="edu-page-warp edu-page-title">
      <el-radio-group v-model="currentPanel" class="edu-title-tab">
        <el-radio-button :label="panels.guide">导师指导人数限制</el-radio-button>
        <el-radio-button :label="panels.declare">导师申报课题数限制</el-radio-button>
      </el-radio-group>
    </div>
    <div>
      <guide-limit v-show="currentPanel === panels.guide" :limitType="limitType.guide"></guide-limit>
      <guide-limit v-show="currentPanel === panels.declare" :limitType="limitType.declare"></guide-limit>
    </div>
  </div>
</template>
<script>
export default {
  name: "limitSetting",
  components: {
    guideLimit: () => import('./components/guideLimit'),
  },
  data() {
    return {
      currentPanel: 'guide',
      panels: {
        guide: 'guide',
        declare: 'declare'
      },
      limitType: {
        guide: '1',
        declare: '2'
      }
    }
  }
};
</script>
